<html>
	<head>		
		<script type="text/javascript">
			function fn(){
				
			}
			</script>
		</head>
	<body>
		<div style="clear:both;border:solid 1px blue;">
			<div style="float:left;width:200px;height:100%;border:solid 1px red;"></div>
			<div id="r" onclick="fn()" style="float:left;width:200px;height:100%;border:solid 1px yellow;"></div>
		</div>
	</body>
</html>